package com.tdwyz.fictionmanage.mapper;

import com.tdwyz.fictionmanage.pojo.FileUpload;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FileUploadMapper {
    @Insert("insert into file_upload(name,url,type,create_user,create_time,update_time)" +
            "values(#{name},#{url},#{type},#{createUser},now(),now())" )
    boolean add(FileUpload fileUpload);

}
